import Vue from 'vue'
import './plugins/elementui'; // 引入element-ui
import Fragment from 'vue-fragment';
import './less/index.less'
import router from '../router' // 此处引入路由router
import store from './store/index' // 引入vuex
import axios from 'axios' // 引入axios
import App from './App.vue'
import '../mockdata/mock' // 引入mock数据

Vue.prototype.$http = axios // 使用axios
Vue.use(Fragment.Plugin)
Vue.config.productionTip = false

new Vue({
	router,  // 此处添加路由router
	store, // 此处添加vuex
  render: h => h(App),
}).$mount('#app')

